<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
用户名<span th:text="${user.name}"></span><br/>
用户id<span th:text="${user.id}"></span>
</body>
</html>